package com.linws.dao;

import com.linws.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface DeptDao {
    public boolean addDept(Dept dept);
    public  Dept queryById(Long id);
    public List<Dept> queryAll();

}
